package com.qijian.quality.domain.excel;

import com.alibaba.fastjson.annotation.JSONField;
import com.qijian.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.util.Date;

@ApiModel("安全检查Excel")
@Data
public class SecurityCheck {
    @Excel(name = "隐患描述")
    private String desc;
    @Excel(name = "检查人")
    private String checkBy;
    private String checkDept;
    @Excel(name = "检查类型")
    private String checkType;
    @Excel(name = "检查时间")
    @JSONField(format = "yyyy-MM-dd HH:mm")
    private Date checkDate;
    @Excel(name = "隐患图片", cellType = Excel.ColumnType.IMAGE)
    private String beforeImg;
    @Excel(name = "隐患性质")
    private String perilNature;
    @Excel(name = "隐患分组")
    private String perilGroup;
    @Excel(name = "隐患类型")
    private String perilType;
    @Excel(name = "隐患区域")
    private String perilArea;
    @Excel(name = "整改责任人")
    private String rectificationUser;
    @Excel(name = "整改方式")
    private String rectificationWay;
    @Excel(name = "计划整改期限")
    @JSONField(format = "yyyy-MM-dd HH:mm")
    private Date rectificationDeadLine;
    @Excel(name = "整改要求")
    private String rectificationAsk;
    @Excel(name = "整改图片", cellType = Excel.ColumnType.IMAGE)
    private String afterImg;
    @Excel(name = "实际整改时间")
    @JSONField(format = "yyyy-MM-dd HH:mm")
    private Date rectificationDate;
    @Excel(name = "整改说明/整改内容")
    private String rectificationDesc;


}
